3.1.8 \(\int 3 a \, dx\) [8]

Optimal. Leaf size=4 \[ 3 a x \]

[Out]

3*a*x

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {8} \begin {gather*} 3 a x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[3*a,x]

[Out]

3*a*x

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin {align*} \int 3 a \, dx &=3 a x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 4, normalized size = 1.00 \begin {gather*} 3 a x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[3*a,x]

[Out]

3*a*x

________________________________________________________________________________________

Mathics [A]
time = 1.51, size = 4, normalized size = 1.00 \begin {gather*} 3 a x \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[3*a,x]')

[Out]

3 a x

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 5, normalized size = 1.25

method result size
default \(3 a x\) \(5\)
norman \(3 a x\) \(5\)
risch \(3 a x\) \(5\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3*a,x,method=_RETURNVERBOSE)

[Out]

3*a*x

________________________________________________________________________________________

Maxima [A]
time = 0.24, size = 4, normalized size = 1.00 \begin {gather*} 3 \, a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*a,x, algorithm="maxima")

[Out]

3*a*x

________________________________________________________________________________________

Fricas [A]
time = 0.29, size = 4, normalized size = 1.00 \begin {gather*} 3 \, a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*a,x, algorithm="fricas")

[Out]

3*a*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 3, normalized size = 0.75 \begin {gather*} 3 a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*a,x)

[Out]

3*a*x

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 4, normalized size = 1.00 \begin {gather*} 3 a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*a,x)

[Out]

3*a*x

________________________________________________________________________________________

Mupad [B]
time = 0.00, size = 4, normalized size = 1.00 \begin {gather*} 3\,a\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3*a,x)

[Out]

3*a*x

________________________________________________________________________________________